import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    username: '',
    tagLabel: []
  },
  mutations: {
    // 保存用户名
    saveUsername(state, name) {
      state.username = name
    },


  },
  actions: {
  },
  modules: {
  }
})
